package com.dkd.model.cusServiceCall.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Bean
 * @since 2018-09-12
 */
@TableName("cus_service_call_detail") // 注解指定表名
public class CusServiceCallDetail extends Model<CusServiceCallDetail> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID")
    private String id;
    private String pId;
    private String title;
    private Date createTime;
    private Double allNum;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getAllNum() {
        return allNum;
    }

    public void setAllNum(Double allNum) {
        this.allNum = allNum;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CusServiceCallDetail{" +
        ", id=" + id +
        ", pId=" + pId +
        ", title=" + title +
        ", createTime=" + createTime +
        ", allNum=" + allNum +
        "}";
    }

}
